# -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-12-31 18:03
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('mediaconvert', '0007_remove_media_mimetype'),
    ]

    operations = [
        migrations.CreateModel(
            name='Stream',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('stream_id', models.IntegerField(editable=False)),
                ('codec_type', models.CharField(editable=False, max_length=64)),
                ('stream_file', models.FileField(editable=False, upload_to='')),
                ('media', models.ForeignKey(editable=False, on_delete=django.db.models.deletion.CASCADE, to='mediaconvert.Media')),
            ],
        ),
        migrations.AlterUniqueTogether(
            name='stream',
            unique_together=set([('media', 'stream_id')]),
        ),
    ]
